//
//  SXToolManager.h
//  SXDataManager-SXDataManager
//
//  Created by wangshuixin on 2019/1/21.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^SXProgramImplementationProcess)(void);
@interface SXToolManager : NSObject

/**
 NSTimer定时器倒计时

 @param duration 倒计时持续时间
 @param frequency 倒计时执行的频率
 @param programProcess NSTimer每次执行完一次时回调
 @param finishProcess NSTimer倒计时结束时回调
 */
+ (void)managerTimerDuration:(CGFloat)duration frequency:(CGFloat)frequency implementationProcess:(SXProgramImplementationProcess)programProcess finishProcess:(SXProgramImplementationProcess)finishProcess;

@end

NS_ASSUME_NONNULL_END
